home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / source / rkeyboar.cpt / Reactive Keyboard ƒ / doc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-06-06  |  1.7 KB  |  63 lines

  1. /*______________________________________________________________________
  2.  
  3.     doc.h - Report Module Interface.
  4.     
  5.     Copyright ⌐ 1988, 1989, 1990 Northwestern University.  Permission is 
  6.     granted to use this code in your own projects, provided you give 
  7.     credit to both John Norstad and Northwestern University in your about 
  8.     box or document.
  9.     
  10.     The definitions in this module are used by the rep.c, rpp.c, ldf.c, 
  11.     hlp.c, and cvrt.c modules.  They are private to these modules.  
  12.     This header file should not be included or used by any other modules.
  13. _____________________________________________________________________*/
  14.  
  15. #ifndef __doc__
  16. #define __doc__
  17.  
  18.  
  19. /* For type 1 reports the userHandle field of the list record is used to
  20.     store a handle to auxiliary information used to optimize the 
  21.     performance of the list definition function.  The following typedef 
  22.     describes this information. */
  23.     
  24. typedef struct auxInfo {
  25.     short            cachedPictID;    /* resource id of cached picture, 
  26.                                             or 0 if none */
  27.     BitMap        cachedBitMap;    /* cached picture bitmap */
  28.     Handle        auxArray[1];    /* array of handles to STR# resources -
  29.                                             expanded by rep_Init to whatever size
  30.                                             is required, and terminated with a zero
  31.                                             entry */
  32. } auxInfo;
  33.  
  34.  
  35. /* Escape codes used in STR# lines. */
  36.  
  37. #define    docStyle        0
  38. #define    docJust        1
  39. #define    docSize        2
  40. #define    docOnly        3
  41. #define    docPict        4
  42. #define    docPage        5
  43. #define    docKeep        6
  44. #define    docEndKeep    7
  45. #define    docITcon        8
  46.  
  47. /* End-of-paragraph marker. */
  48.  
  49. #define    docEop        31
  50.  
  51. /* Justification constants used in STR# escape sequences. */
  52.  
  53. #define    docLeft        0
  54. #define    docCenter    1
  55. #define    docRight        2
  56.  
  57. /* Masks for STR# "only" escape sequences. */
  58.  
  59. #define    docScreen    1
  60. #define    docPrint        2
  61. #define    docSave        4
  62.  
  63. #endif